package ru.dadle8.model.db;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Document(collection = "workouts")
@Data
public class Workout {

    @Id
    private ObjectId id;
    private String title;
    private List<String> tags;
    private String description;
    private Integer messageId;
    private Long fromChatId;

}
